<template>
  <p>我是测试的</p>
</template>
<script lang="ts">
  import { defineComponent, onMounted, getCurrentInstance } from 'vue';
  export default defineComponent({
    setup() {
      const { proxy }: any = getCurrentInstance(); // 下面有简单解释
      onMounted(() => {
        proxy.$router.push(import.meta.env.VITE_PAGE_HOME);
      });
      return {};
    },
  });
</script>
